<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">{{a}}</div>
		<script type="text/javascript">
		var json={a:1};
		
		//执行Object.freeze方法后，json对象的变更不会再响应到页面
		// Object.freeze(json);
		
		var vm=new Vue({
			el:"#app",
			data:json
		})
		</script>

	</body>
</html>
